﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cash5
{
    /// <summary>
    /// This is model like class that keeps basic info
    /// </summary>
    public class Lotto
    {
        private Lotto()
        {
            ExcludeNumbers = new List<int>();
        }
        private static Lotto _instance;
        public static Lotto instance
        {
            get
            {
                if (_instance == null)
                {
                    _instance = new Lotto();
                }
                return _instance;
            }
        }
        public int From { get; set; }
        public int To { get; set; }
        public int Digits { get; set; }
        public int PossibleCombinations { get; set; }
        public int RemainingCombinations { get; set; }
        public List<int> ExcludeNumbers { get; set; }
    }
}
